<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <div class="a1">test vue</div>
    <van-button type="primary">主要按钮</van-button>
  </div>
</template>

<script>
// @ is an alias to /src
// import HelloWorld from '@/components/HelloWorld.vue'
import { Button } from 'vant'

export default {
  name: 'Home',
  // 注册组件
  components: {
    [Button.name]: Button
  }
}
</script>

<style lang="scss" scoped>
.a1 {
  font-size:14px;
}
</style>
